package com.harboursoftware.xstorage;

public class Constants {
    
    /**
     * X-Storage Hostname
     */
    public static String XS_HOSTNAME = "s.x-storage.com"; 
    
    public static String XS_HOSTNAME_SUFFIX = ".s.x-storage.com";
    
    /**
     * The default encoding used for text data: UTF-8 
     */
    public static String DEFAULT_ENCODING = "UTF-8";
    
    /**
     * HMAC/SHA1 Algorithm per RFC 2104, used when generating S3 signatures.
     */
    public static final String HMAC_SHA1_ALGORITHM = "HmacSHA1";
    
    /**
     * Header prefix for general Amazon headers: x-amz-
     */
    public static final String REST_HEADER_PREFIX = "x-amz-";
    /**
     * Header prefix for Amazon metadata headers: x-amz-meta-
     */
    public static final String REST_METADATA_PREFIX = "x-amz-meta-";
    /**
     * Header prefix for Amazon's alternative date header: x-amz-date
     */
    public static final String REST_METADATA_ALTERNATE_DATE = "x-amz-date";
    
    public static final String REST_METADATA_ACL = "x-amz-acl";
}
